package com.sixth.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: ssm002
 * @description:
 * @author: 老魏
 * @create: 2021-12-10 18:57
 **/
@Controller
public class PageController {

    //到主页面
    @RequestMapping("/main")
    public String main(){
        return "main";
    }

    //首页
    @RequestMapping("/tofirst")
    public String tofirst(){
        return "first";
    }

    //到用户信息页面
    @RequestMapping("/touserInfo")
    public String touserInfo(){
        return "userInfo";
    }

    //到修改密码页面
    @RequestMapping("/tochangePwd")
    public String tochangePwd(){
        return "changePwd";
    }

    //员工信息页面
    @RequestMapping("/toStaff")
    public String toStaff(){
        return "Staffmessage";
    }

    //离职员工页面
    @RequestMapping("/toQuitStaff")
    public String toQuitStaff(){
        return "QuitStaff";
    }

    //前往店长调动信息
    @RequestMapping("toTransfer")
    public String toTransfer() {
        return "transfer";
    }

    //员工平调审核
    @RequestMapping("toStaffEx")
    public String toStaffEx() {
        return "StaffEx";
    }

    //添加盘点
    @RequestMapping("toAddInventory")
    public String toAddInventory() {
        return "addInventory";
    }

    //盘点审核
    @RequestMapping("toInventoryEx")
    public String toInventoryEx() {
        return "inventoryEx";
    }

    //报损信息
    @RequestMapping("toFrmLoss")
    public String toFrmLoss() {
        return "FrmLoss";
    }

    //盘点审核
    @RequestMapping("toInventoryInformation")
    public String InventoryInformation() {
        return "InventoryInformation";
    }

    //添加出库
    @RequestMapping("/toAddOutLibrary")
    public String toAddOutLibrary(){
        return "addOutLibrary";
    }

    //出库信息
    @RequestMapping("/toOutLibraryInformation")
    public  String toOutLibraryInformation(){
        return "outInformation";
    }

    //出库审核
    @RequestMapping("/toOutLibraryEx")
    public String toOutLibraryEx(){
        return "outLibraryEx";
    }

    //平调审核
    @RequestMapping("/toTransferEx")
    public String toTransferEx(){
        return "transferEx";
    }

    //平调信息
    @RequestMapping("/toTransferInformation")
    public String toTransferInformation(){
        return "transferInformation";
    }

    //入库信息
    @RequestMapping("/toEntry")
    public String toEntry(){
        return "entry";
    }

    @RequestMapping({"/toDept"})
    public String toDept() {
        return "dept";
    }

    //入库审核
    @RequestMapping("/toAudit")
    public String toAudit(){ return "audit";}

    //店铺
    @RequestMapping({"/toStore"})
    public String toStore() {
        return "toStore";
    }

    //权限管理
    @RequestMapping("toGoods")
    public String toGoods(){
        return "goods";
    }

    //商品管理
    @RequestMapping("toRole")
    public String toRole(){
        return "role01";
    }

    //商品类型信息
    @RequestMapping("toGoodsType")
    public String toGoodsType(){
        return "goodsType";
    }

    //前往统计页面
    @RequestMapping("toStatistics")
    public String toStatistics(){
        return "statistics";
    }
}
